//
//  ViewController.h
//  Wi-Fi Party macOS
//
//  Created by 许煜恒 on 2022/9/21.
//

#import <Cocoa/Cocoa.h>
#import <ScreenCaptureKit/ScreenCaptureKit.h>
#import <AudioUnit/AudioUnit.h>
#import <AVFoundation/AVFoundation.h>
#include "libwifiparty/libwifiparty.hpp"
#include "party-protocol/party-protocol.hpp"
#include "AudioUnitUtil.hpp"


enum channel_type{
    music=1,
    vocal=2,
};

@interface ViewController : NSViewController <SCStreamOutput,SCStreamDelegate>
{
    AudioUnit unit;
    SCStream *screenCaptureStream;
    Channel *musicChannel;
}


@end

